import info from "./index";
let addnum=(num:any)=>{
    return{
        type:info.ADDNUM,
        payload:num
    }
}
let reduce=(num:any)=>{
    return {
        type:info.REDUCE,
        payload:num
    }
}
export {addnum,reduce}